package java44th.group.mapper;

import java.util.List;

import java44th.group.bean.json.ChildrenDTO;
import java44th.group.bean.json.ChildrenDTOX;
import java44th.group.bean.json.SystemPermissionsDTO;
import java44th.group.bean.po.MarketPermission;
import java44th.group.bean.po.MarketPermissionExample;
import org.apache.ibatis.annotations.Param;

public interface MarketPermissionMapper {
    long countByExample(MarketPermissionExample example);

    int deleteByExample(MarketPermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketPermission row);

    int insertSelective(MarketPermission row);

    List<MarketPermission> selectByExample(MarketPermissionExample example);

    MarketPermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") MarketPermission row, @Param("example") MarketPermissionExample example);

    int updateByExample(@Param("row") MarketPermission row, @Param("example") MarketPermissionExample example);

    int updateByPrimaryKeySelective(MarketPermission row);

    int updateByPrimaryKey(MarketPermission row);

    void insertPermisssionDataOne(@Param("systemPermission") SystemPermissionsDTO systemPermission,
                                  @Param("child") ChildrenDTOX child,
                                  @Param("childrenDTO") ChildrenDTO childrenDTO);


}